//import {SAVEFORMDATA,SAVEIMG,CLEARDATA} from './action-type'

import * as home from './action-type'

export const saveFormData = (value,datatype) => {
  return{
    type:home.SAVEFORMDATA,
    value,
    datatype
  }
}

export const saveImg = (path) =>{
  return{
    type:home.SAVEIMG,
    path
  }
}

export const clearData = () =>{
  return{
    type:home.CLEARDATA
  }
}